package com.ry.ryshopweb.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class PageController {
    @RequestMapping("/")
    public String doIndex(){
        return "/index";
    }
    @RequestMapping("/shop/page")
    public String doPageUI(){
        return  "/ruoyishop/common/page";
    }
    @RequestMapping("/login")
    public String doLoginUI(){
        return "/login";
    }
    @RequestMapping("/shop/{params}")
    public String doUI(@PathVariable String params){
        return "/ruoyishop/"+params;
    }

}
